package com.tencreat.mapper.account;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tencreat.domain.account.AccountWithdrawAudit;
import com.tencreat.domain.mall.vo.AuditResultVO;
import com.tencreat.domain.mall.vo.RrsAuditResultVO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * 提现记录Mapper接口
 *
 * @author tencreat
 * @date 2021-11-25
 */
public interface AccountWithdrawAuditMapper extends BaseMapper<AccountWithdrawAudit> {

    IPage<AccountWithdrawAudit> queryList(Page objectPage, @Param("item") AccountWithdrawAudit accountWithdrawAudit);

    RrsAuditResultVO priceStatistics();

    BigDecimal refuseAmount();

    BigDecimal waitAmount();

    BigDecimal auditAmount();
}
